<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <script src="/js/jquery-3.6.0.js"></script>
    <link rel="stylesheet" href="/lib/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/css/ZhiWeiQuanXian/ZhiWeiQuanXian.css">
    <script src="/lib/layui/layui.js" charset="utf-8"></script>

    <!--  <link rel="stylesheet" href="../static/css/ZhiWeiQuanXian/ZhiWeiQuanXian.css">-->
    <!--  <link rel="stylesheet" href="../static/layui-v2.6.8/layui-v2.6.8/layui/css/layui.css">-->
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>

<body>
<table style="background-color: white ;height: 50px;width: 100%">
    <tr>
        <td align="center">
            <h2>[ 公司组织管理 ]</h2>
        </td>
        <td width="120" align="right">
            <button class="layui-btn layui-btn-sm" id="btnAdd" style="margin-right:10px;">添加部门</button>
        </td>
    </tr>
</table>

<div style="background-color: white" align="right">

    <table id="dictBigClass" class="layui-table" lay-data="{id:'id'}" lay-filter="dictBigClassTable">
        <thead>
        <tr>
            <td lay-data="{field:'id',width:'20%',align:'center'}">序号</td>
            <td lay-data="{field:'name',width:'40%',align:'center'}">部门</td>
            <td lay-data="{field:'op',width:'40%',align:'center'}">操作</td>
        </tr>
        </thead>
        <tr th:each="dp:${dplist}">
            <td th:text="${dp.getId()}"></td>
            <td th:text="${dp.getDepartmentname()}"></td>
            <td>
                <button type="button" class="layui-btn layui-btn-xs" lay-event="edit" style="font-weight: normal">职位
                </button>
                <button type="button" class="layui-btn layui-btn-xs  layui-btn-danger" lay-event="del"
                        style="font-weight: normal ">删除
                </button>
            </td>
        </tr>

    </table>
</div>
<script type="text/html" id="barDemo">
    <button type="button" class="layui-btn layui-btn-xs" lay-event="edit">职位
    </button>
    <button type="button" class="layui-btn layui-btn-xs  layui-btn-danger" lay-event="del">
        删除
    </button>
</script>
<!--弹出层的js-->
<script src="/js/jjl_job.js" charset="utf-8"></script>
</body>

</html>